home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
(A)TB
/
(A)TBB.ADF
/
CLI_Help
/
Help.DOC
< prev
next >
Wrap
Text File
|
1989-04-08
|
5KB
|
112 lines
HELP! CLI Help Program
Version 1.0 October 88
(c) Copyright 1988 G.Ismay
INTRODUCTION
HELP! is a program that provides a simple help facility for CLI users.
HELP! can find a single keyword in up to twenty six different help files
and display information relative to that keyword. This allows you to
have up to 832 Kbytes of help on-line at any one time, which should be
enough for most people! A complete help file is included on this disk
containing help on all the AmigaDos commands.
INSTALLING HELP!
For HELP! to work properly, at least two files are required; the HELP!
program itself and a help file called HelpA.HELP. These files are
included on this disk and should be copied to any of your CLI disks
that you would like to HELP! to be available on.
HELP! should be copied into the C directory of your disk so that it can
be used in exactly the same way as the other CLI commands.
The help file, HelpA.HELP should be copied to the root directory of your
disk.
You could also, as part of your startup-sequence, copy HelpA.HELP to RAM:.
This would greatly decrease the time taken to get help on a subject.
USING HELP!
Help is called by typing:
HELP! <keyword>
Where <keyword> is the subject that you require information on. The keyword
can consist of two or more characters, although only the first six are used.
If HELP! matches the keyword with a subject in a help file, information
about that subject will be displayed. You can pause the display by
pressing any key then backspace or return to continue.
If a match is not made, HELP! will display the message
Sorry no help available on <subject>
Where <subject> is the keyword you supplied.
If you call HELP! and there is no help file available the message
There is no help currently available
is displayed. This means that you have not copied the file HelpA.HELP to
either your root directory on disk or to RAMdisk.
WHAT HELP! DOES
When you call HELP! it looks for a file called HelpA.HELP in the current
directory, then it looks for it in the RAMdisk RAM: and then finally in
the root directory of the disk df0:. If it doesn't find this file the
message 'There is no help currently available' is displayed and you are
returned to the CLI command line.
If HelpA.HELP is found HELP! searches through it to try and find a match
with the keyword that you supplied. If it finds a match, it displays
information related to the keyword. If a match is not found, HELP! then
looks for another file to search called HelpB.HELP. If a match is not found
in this file it then looks for file called HelpC.HELP and so on up to
HelpZ.HELP. If a match is not made in any existing help file the message
'Sorry no help available on <keyword>', where <keyword> is the keyword that
you supplied.
CREATING YOUR OWN HELP FILES
Although a help file on AmigaDos commands is provided you can create help
files of your own for HELP! to use. The help files that you create should
follow these guildelines:
Each help file consists of keywords followed by information about
that keyword.
Each keyword is identified by placing a \ in front of it and should
consist of no more than six characters.
Any text after the sixth character on the line containing the keyword
will be displayed by HELP! until a ~ is found. The ~ marks the end of
information relating to the keyword.
Here is an example of a simple help file
\AMIGA Amiga is a wonderful micro~
\AUTHOR The author is a wonderful human being~
So if you asked for help on 'AMIGA', HELP! would look for a '\' then check
the six following characters to see if they were same as or part of 'AMIGA'.
Then the string ' Amiga is a wonderful micro' would be displayed. Before
comparing any characters HELP! changes them to upper case, so that both
the keyword and the six characters following the '\' can be upper or lower
case or a mixture of both.
Any help files you create should be 32 Kbytes or smaller and they should be
named HelpA.HELP through to HelpZ.HELP, IN ORDER. So if you had three help
files the first file to be searched should be called HelpA.HELP, the second
called HelpB.HELP and the third called HelpC.Help.
Look at the file 'HelpA.HELP' on this disk to see an example of a help
file.
-Gary Ismay October 88